package com.course.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.course.api.entity.Role;
import com.course.api.entity.RoleMenu;

import java.util.List;

public interface IRoleService extends IService<Role> {

    List<RoleMenu> getRoleMenu(Long roleId);

    void setRoleMenu(Long roleId, List<Long> menuIds);

    Long selectRoleId(String userType);
}
